package entity;

import java.io.Serializable;

/**
 * (Doctors)实体类
 *
 * @author makejava
 * @since 2024-04-22 12:33:38
 */
public class Doctors implements Serializable {
    private static final long serialVersionUID = 317669112850020684L;
    /**
     * 医生ID，主键
     */
    private Integer id;

    /**
     * 所属科室
     */
    private String department;
    /**
     * 医生职称
     */
    private String title;
    /**
     * 外键，关联到用户表的ID
     */
    private Integer userId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

}

